<?php

/**
 * Description of Application_Model_Fields_Token
 *
 * @author Jean Brito
 */
class Application_Model_Fields_Token extends Application_Model_Fields_Abstract {
	public function getSqlSet($value=null){
		if($value!='')return "'".SHA1($value)."'";
		return "'".sha1(date('Ymdhis'))."'";
	}
}
